package com.snpic.appaw.module.third.api.commonCertification.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Map;

/**
 * @author JiJun
 * @date 2025/9/18 18:09
 * @修改时间 2025/9/18 18:09
 * @description
 */
@Data
@Schema(description = "统一配置化实名验真-各渠道场景实名验真 RespDTO")
public class RealNameVerificationRspDTO {

	@Schema(description = "渠道名称")
	private String source;

	@Schema(description = "渠道代码（对应systemSource）")
	private String channelCode;

	@Schema(description = "返回时间")
	private String transTime;

	@Schema(description = "交易token")
	private String transToken;

	@Schema(description = "交易通行证（对应transactionCertificateNo）")
	private String transSerialNumber;

	@Schema(description = "返回码,000000-成功,666666-实名认证调用次数超每日上限！")
	private String statusCode;

	@Schema(description = "返回情况表述")
	private String statusMessage;

	@Schema(description = "返回内容")
	private Returns returns;

	@Data
	@Schema(description = "返回内容详情")
	public static class Returns {
		@Schema(description = "验证结果代码（当statusCode为'000000'时必填）")
		private String result;

		@Schema(description = "验证结果说明（当statusCode为'000000'时必填）")
		private String resultMessage;

		@Schema(description = "错误提示", example = "参数错误")
		private String error;

		@Schema(description = "流水表UUID")
		private String UUID;

		@Schema(description = "实名认证配置信息-供应商")
		private String authConfigurationSupplier;

		@Schema(description = "实名认证配置信息-认证类型")
		private String authConfigurationAuthType;
	}
}
